Use PECancelPrintJob to cancel the printing of a report. This function can be tied to a control that allows the user to cancel a print job in progress. You can use this command as a replacement for the Cancel button when PEShowPrintControls, disables the Print Control buttons.
void CRPE_API PECancelPrintJob (
short printJob );
Declare Sub PECancelPrintJob Lib "crpe32.dll" (ByVal printJob As Integer)
procedure PECancelPrintJob (
printJob: Word
)stdcall;
EXTERN CVOID PECancelPrintJob (CWORD) CRPE.DLL
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |